package com.yuda.common.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sparta_school
 *
 * @author wyn
 * @date 2021-05-13
 */
public class SpartaSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private String name;

    private Long cityId;

    private String cityName;

    private Long provinceId;

    private String provinceName;

    private String password;

    private String username;

    private Long type;

    /** $column.columnComment */
    @Excel(name = "加密之后密码")
    private String realPassword;

    /** 0-不可展示 1-展示 微信自缴费设置显示用 */
    @Excel(name = "0-不可展示 1-展示 微信自缴费设置显示用")
    private Integer showStatus;

    /** 是否冻结 1冻结0 未冻结 */
    @Excel(name = "是否冻结 1冻结0 未冻结")
    private Integer frozon;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCityId(Long cityId)
    {
        this.cityId = cityId;
    }

    public Long getCityId()
    {
        return cityId;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setProvinceId(Long provinceId)
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId()
    {
        return provinceId;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setRealPassword(String realPassword)
    {
        this.realPassword = realPassword;
    }

    public String getRealPassword()
    {
        return realPassword;
    }
    public void setShowStatus(Integer showStatus)
    {
        this.showStatus = showStatus;
    }

    public Integer getShowStatus()
    {
        return showStatus;
    }
    public void setFrozon(Integer frozon)
    {
        this.frozon = frozon;
    }

    public Integer getFrozon()
    {
        return frozon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("provinceId", getProvinceId())
            .append("provinceName", getProvinceName())
            .append("password", getPassword())
            .append("username", getUsername())
            .append("type", getType())
            .append("realPassword", getRealPassword())
            .append("showStatus", getShowStatus())
            .append("frozon", getFrozon())
            .toString();
    }
}
